package cn.sciento.boot.data.change.parse;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import cn.sciento.boot.data.change.dto.MybatisInvocation;

public class UpdateDataParser extends AbstractDataParser {
  public List<Map<String, Object>> parseBefore(MybatisInvocation mybatisInvocation) throws Throwable {
    return queryBeforeAffectedData(mybatisInvocation);
  }
  
  public List<Map<String, Object>> parseAfter(MybatisInvocation mybatisInvocation, List<Map<String, Object>> beforeData) throws Throwable {
    return queryAfterAffectedData(mybatisInvocation, beforeData);
  }
}
